<button mat-button type="button" ngmAppearance="dashed" [color]="field.formControl.value ? 'accent' : ''"
    (click)="openCodeEditorDialog()">
    <mat-icon>code</mat-icon> {{to?.label || 'Open Editor'}}
</button>
